<template>
  <div>
    <Button type="primary" @click="isModel = true">头像上传</Button>
    <Modal v-model="isModel" title="头像上传" footer-hide>
      <cropper></cropper>
    </Modal>
  </div>
</template>

<script>
import Cropper from '_c/cropper'
export default {
  components: {
    Cropper
  },
  data () {
    return {
      isModel: false
    }
  }
}
</script>
